package com.witsight.hibernate.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.witsight.hibernate.dao.JpaCommonRepository;
import com.witsight.hibernate.service.JpaCommonService;
import com.witsight.platform.service.CommonService;
import com.witsight.platform.service.impl.CommonServiceImpl;
/**   
 * 说明：共通服务实现类，共通服务
 * @Title: CommonServiceImpl.java 
 * @Package com.witsight.hibernate.service.impl 
 * @See: {@link CommonService}
 * Copyright: Copyright (c) 2017
 * Company:sany huax witsight team by product
 * @author: fuyp  
 * @date: 2017年9月19日 上午8:16:33 
 * @version: V1.0
 *
 */
@Service
public class JpaCommonServiceImpl extends CommonServiceImpl implements JpaCommonService {
	// 共通服务接口 可以单独使用，没有ORM的限制
	private JpaCommonRepository commonRepository;
	@Autowired
	protected JpaCommonServiceImpl(JpaCommonRepository commonRepository) {
		super(commonRepository);
		this.commonRepository = commonRepository;
	}
}
